{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm">
<!-- start reg_fiedls list -->
<div class="list-div" id="listDiv">
{/if}

<table cellspacing='1' id="list-table">
  <tr>
    <th>Banner标题</th>
    <th>Banner</th>
    <th>创建时间</th>
    <th>修改时间</th>
    <th>操作</th>
  </tr>
  {foreach from=$banner item=ban}
  <tr>
    <td class="first-cell" ><span>{$ban.title}</span></td>
    <td align="center"><img src="../{$ban.img}" height="100" /></td>
    <td align="center">{$ban.c_time|gg_date:'Y-m-d'}</td>
    <td align="center">{$ban.u_time|gg_date:'Y-m-d'}</td>
    <td align="right"><a href="?act=edit&id={$ban.id}">{$lang.edit}</a> | <a href="javascript:;" onclick="listTable.remove({$ban.id}, '{$lang.drop_confirm}')" title="{$lang.remove}">{$lang.remove}</a></td>
  </tr>
  {/foreach}
  </table>

{if $full_page}
</div>
<!-- end reg_fiedls list -->
</form>

{include file="pagefooter.htm"}
{/if}
